//
//  KPSlidLeftTableViewController.swift
//  KPBaseProject
//
//  Created by Kipp Dev on 2018/4/8.
//  Copyright © 2018年 Kipp. All rights reserved.
//

import UIKit

class KPSlidLeftTableViewController: KPBaseTableViewController {

    let titles = ["菜单","菜单","菜单","菜单","菜单","菜单"]

    override func viewDidLoad() {
        super.viewDidLoad()
    }

    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return titles.count
    }

    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "cell") ?? UITableViewCell(style: .default, reuseIdentifier: "cell")
        cell.textLabel?.text = titles[indexPath.row]
        return cell
    }

}
